package com.ruoyi.wm.mapper;

import java.util.List;
import com.ruoyi.wm.domain.WmApparatusInventory;

/**
 * 医疗器械库存清算Mapper接口
 * 
 * @author hpf
 * @date 2021-11-28
 */
public interface WmApparatusInventoryMapper 
{
    /**
     * 查询医疗器械库存清算
     * 
     * @param id 医疗器械库存清算ID
     * @return 医疗器械库存清算
     */
    public WmApparatusInventory selectWmApparatusInventoryById(Long id);

    /**
     * 查询医疗器械库存清算列表
     * 
     * @param wmApparatusInventory 医疗器械库存清算
     * @return 医疗器械库存清算集合
     */
    public List<WmApparatusInventory> selectWmApparatusInventoryList(WmApparatusInventory wmApparatusInventory);

    /**
     *
     * @param name
     * @return
     */
    List<WmApparatusInventory> selectWmApparatusInventoryByName(String name);

    WmApparatusInventory selectLatestIndex(String name);

    /**
     * 新增医疗器械库存清算
     *
     * @param wmApparatusInventory 医疗器械库存清算
     * @return 结果
     */
    public int insertWmApparatusInventory(WmApparatusInventory wmApparatusInventory);

}
